package com.woniu.service.ServiceImpl;

import com.woniu.dao.IDeptDao;
import com.woniu.pojo.Dept;
import com.woniu.service.IDeptService;

import java.util.List;

/**
 * @author zhaolei
 * @date 2021/4/13 - 16:53
 */
public class DeptServiceImpl implements IDeptService {
    private IDeptDao deptDao;

    public void setDeptDao(IDeptDao deptDao) {
        this.deptDao = deptDao;
    }

    @Override
    public List<Dept> findAll() {
        return deptDao.findAll();
    }
}
